﻿
var alert1=function(){
Mui.use('Mui.msg',function(Mui){
	Mui.msg.alert(123);

});
}
var alert2=function(){
	Mui.use('Mui.msg',function(Mui){
		Mui.msg.alert({
			msg:'helloworld',
			title:'the first application',
			tipsIcon:Mui.msg.icon.error
		});
	});
}


var b1=document.createElement('button');
b1.innerHTML='alert1';
b1.onclick=alert1;
document.body.appendChild(b1);


var b2=document.createElement('button');
b2.innerHTML='alert2';
b2.onclick=alert2;
document.body.appendChild(b2);